From: Richard M. Stallman Date: Fri, 16 Sep 1994 07:51:10 +0000 (+0000) Subject: (getpwuid, getpwnam): Test just DECLARE_GETPWUID_WITH_UID_T, not __bsdi__. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~90288 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=2d487ae57b9d204b47984737437c3be5b08bb30b;p=emacs.git (getpwuid, getpwnam): Test just DECLARE_GETPWUID_WITH_UID_T, not __bsdi__. --- diff --git a/src/xrdb.c b/src/xrdb.c index 60f3e415d62..c41caa9c8a1 100644 --- a/src/xrdb.c +++ b/src/xrdb.c @@ -71,7 +71,7 @@ extern short getuid (); /* If this causes portability problems, default to `int' anyway. */ #endif -#if defined (__bsdi__) || defined (DECLARE_GETPWUID_WITH_UID_T) +#ifdef DECLARE_GETPWUID_WITH_UID_T extern struct passwd *getpwuid (uid_t); extern struct passwd *getpwnam (const char *); #else